/*  File Name	: FirewallSetting.h
 *  Author		: Javie Pong
 *	 E-mail		: 823960168@qq.com
 *  Created on	: 2012-10-1
 *  Description:
 */

#ifndef FIREWALLSETTING_H_
#define FIREWALLSETTING_H_
#include "Define.h"

class FirewallSetting
{
public:
	FirewallSetting();
	virtual ~FirewallSetting();

	static int add_address_list(std::string ip,std::string limit_ip);
	static int remove_address_list(std::string ip);
	static int find_addrees_list(std::string ip,StrVector &vec);
	static int print_addrees_list(std::string ip,bool all=false);

	static int add_filter(std::string chain,std::string src_ip,std::string dst_ip);
	static int remove_filter(std::string ip);
	static int find_filter(std::string ip,StrVector &vec);

private:

};

#endif /* FIREWALLSETTING_H_ */
